<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>JSON 函数</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="jsonserializable.jsonserialize.html">« JsonSerializable::jsonSerialize</a></li>
      <li style="float: right;"><a href="function.json-decode.html">json_decode »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.json.html">JSON</a></li>
    <li>JSON 函数</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="ref.json" class="reference">
 <h1 class="title">JSON 函数</h1>

 





























<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="function.json-decode.html">json_decode</a> — 对 JSON 格式的字符串进行解码</li><li><a href="function.json-encode.html">json_encode</a> — 对变量进行 JSON 编码</li><li><a href="function.json-last-error-msg.html">json_last_error_msg</a> — 返回最后一次调用 json_encode() 或 json_decode() 时产生的错误信息</li><li><a href="function.json-last-error.html">json_last_error</a> — 返回最后发生的错误</li></ul>
</div>
</div></div></body></html>